.middle {
    display: flex;
    justify-content: center;
}

.middle > div {
    width: 900px;
    margin: 30px 0;
    /*padding: 30px;*/
    border: 1px solid gray;
}

/*------------------------------------*/
.middle > div > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
}

.type {
    display: flex;
    line-height: 60px;
}

.type > div {
    padding: 0 20px;
}

.type > div:hover {
    background-color: rgb(230, 145, 55);
    color: white;
    cursor: pointer;
}

/*-------------------------------------产品展示--------------------*/
.product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product > div {
    width: 210px;
    /*border: 1px solid red;*/
    /*margin-right: 10px;*/
    margin-bottom: 10px;
}

.product > div > div:nth-child(1) {
    height: 150px;
}

.product > div > div:nth-child(1) img {
    height: 100%;
    width: 100%;
}

.product > div > div:nth-child(3) {
    display: flex;
    align-items: center;
}

.product > div > div:nth-child(3) > div:nth-child(2) {
    color: red;
}

.price {
    color: red;
}